←Select platform

Width Property

Summary

Custom page width in inches.

Syntax
C#
VB
Objective-C
C++
Java
public double Width { get; set; } 
Public Property Width As Double 
@property (nonatomic, assign) double width 
public double getWidth() 
public void setWidth(double width) 
public: 
property double Width { 
   double get(); 
   void set (    double ); 
} 

Property Value

Custom page width in inches. Default value is 0.

Remarks

The DocumentWriterSvgPage.Width and DocumentWriterSvgPage.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 DocumentWriterSvgPage.Width and DocumentWriterSvgPage.Height before calling AddPage or InsertPage.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly