Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

DefaultPageSize Property






Default page size of this document.
Syntax
public LeadSizeD DefaultPageSize {get; set;}
'Declaration
 
Public Property DefaultPageSize As LeadSizeD
'Usage
 
Dim instance As DocumentPages
Dim value As LeadSizeD
 
instance.DefaultPageSize = value
 
value = instance.DefaultPageSize
public LeadSizeD getDefaultPageSize()
public void setDefaultPageSize(LeadSizeD value)
            
public:
property LeadSizeD DefaultPageSize {
   LeadSizeD get();
   void set (    LeadSizeD value);
}

Property Value

The default page size of this document. Default value depends on how this document was created. This value cannot be Empty.
Remarks

DefaultPageSize is in document units, refer to Documents Library Coordinate System for more information.

DocumentPage.SetImage can be called to set a new raster image for the page. The page Size and Resolution will be updated from the image parameter passed. If the image passed was null, then the document uses the values of DefaultPageSize and DefaultResolution as the new Size and Resolution respectively.

DefaultResolution is also used by the methods used to convert between document units and pixels, refer to Documents Library Coordinate System for more information.

The initial values of DefaultPageSize and DefaultResolution is as follows:

Requirements

Target Platforms

See Also

Reference

DocumentPages Class
DocumentPages Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features