Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Forms.DocumentWriters Namespace > DocumentSvgPage Class : Width Property |
public double Width {get; set;}
'Declaration
Public Property Width As Double
'Usage
Dim instance As DocumentSvgPage Dim value As Double instance.Width = value value = instance.Width
public double Width {get; set;}
@property (nonatomic, assign) double width
public double getWidth() public void setWidth(double width)
<br/>get_Width();<br/>set_Width(value);<br/>Object.defineProperty('Width');
The DocumentSvgPage.Width and DocumentSvgPage.Height properties can be used to set a custom page size in inches. When the values are the default of 0, the framework will obtain the page width and height automatically from the ISvgDocument object set in SvgDocument when AddPage or InsertPage is called. If it is desired to create pages at a custom size, then simply set the values (in inches) in DocumentSvgPage.Width and DocumentSvgPage.Height before calling AddPage or InsertPage.