|
theDoc.Rect = theDoc.MediaBox; // incorrect
Using doc As New Doc()
doc.Rect.String = "50 50 550 550"
Dim i As Integer = 1
While i <= 20
doc.FrameRect()
doc.Rect.Inset(20, 20)
System.Math.Max(System.Threading.Interlocked.Increment(i),i - 1)
End While
doc.Save(Server.MapPath("docrect.pdf"))
End Using

docrect.pdf
Also see example code in: ABCpdf Text Flow Example,
ABCpdf Text Flow
Round Image Example, ABCpdf Multistyle
Example, ABCpdf
Image Example, ABCpdf Headers and Footers
Example, ABCpdf
Landscape Example, ABCpdf Small Table Example,
ABCpdf Large Table
Example, ABCpdf
Paged HTML Example, ABCpdf eForm Placeholder
Example, ABCpdf
eForm FDF Example, ABCpdf Advanced
Graphics Example, ABCpdf PDF Rendering
Example, Doc
AddColorSpaceFile Function, Doc AddColorSpaceSpot
Function, Doc
AddImageBitmap Function, Doc AddImageDoc Function,
Doc AddImageFile
Function, Doc
AddImageObject Function, Doc AddImageToChain
Function, Doc AddOval
Function, Doc AddPie
Function, Doc AddXObject
Function, Doc FillRect
Function, Doc FrameRect
Function, Doc ColorSpace Property,
Doc String Property, Doc TextStyle Property, Doc TopDown Property, Doc
Transform Property, XColor Alpha Property,
XColor
Components Property, XHtmlOptions
GetTagRects Function, XHtmlOptions
LinkDestinations Method, XHtmlOptions LinkPages
Method, XHtmlOptions
HtmlCallback Property, XImage SetData Function,
XImage SetFile
Function, XImage
SetMask Function, XImage SetStream
Function, XImage Selection
Property, XRect Rectangle
Property, XRendering
AntiAliasImages Property, XRendering
AntiAliasPolygons Property, XRendering
AntiAliasText Property, XRendering
ColorSpace Property, XRendering
DefaultHalftone Property, XRendering
DrawAnnotations Property, XRendering IccCmyk
Property, XRendering
SaveCompression Property, XTextStyle Bold
Property, XTextStyle
CharSpacing Property, XTextStyle HPos
Property, XTextStyle Indent
Property, XTextStyle Italic
Property, XTextStyle
Justification Property, XTextStyle Kerning
Property, XTextStyle
LeftMargin Property, XTextStyle
LineSpacing Property, XTextStyle Outline
Property, XTextStyle
ParaSpacing Property, XTextStyle Strike
Property, XTextStyle Strike2
Property, XTextStyle Underline
Property, XTextStyle VPos
Property, XTextStyle
WordSpacing Property, XTransform Invert
Function, XTransform Magnify
Function, XTransform Reset
Function, XTransform Skew Function,
XTransform
Translate Function, ColorSpace
Gamma Property, ColorSpace
WhitePoint Property, FontObject
Widths Property, Page
GetBitmap Function, Page
Rotation Property, PixMap
SetAlpha Function, PixMap
SetChromakey Function, PixMap
ToGrayscale Function,
ArrayAtom FromContentStream Function,
XpsImportOperation Import Function,
SwfImportOperation Import Function, TextOperation
Group Function,
WebPageOperation Doc Property.
|
|
|