|
The following code adds two lines to a document. The first line
has a width of ten points and the second has a width of twenty
points.
using var doc = new Doc();
doc.Width = 10;
doc.AddLine(10, 10, 300, 300);
doc.Width = 20;
doc.AddLine(10, 300, 300, 10);
doc.Save(Server.MapPath("docwidth.pdf"));
Using doc As New Doc()
doc.Width = 10
doc.AddLine(10, 10, 300, 300)
doc.Width = 20
doc.AddLine(10, 300, 300, 10)
doc.Save(Server.MapPath("docwidth.pdf"))
End Using

docwidth.pdf
Also see example code in: ABCpdf Text Flow Example,
ABCpdf Text Flow
Round Image Example, ABCpdf Advanced
Graphics Example, Doc AddArc
Function, Doc AddLine
Function, Doc AddOval
Function, Doc AddPie
Function, Doc AddPoly
Function, Doc Options Property,
Doc TopDown Property, XColor Components
Property, XTransform Skew Function,
XTransform
Translate Function, ColorSpace
Gamma Property, ColorSpace
WhitePoint Property, Page
GetBitmap Function,
ImageOperation GetImageProperties Function.
|
|
|