ImageGear .NET v25.2 - Updated
ImageGear.Formats.Office Assembly / ImageGear.Formats.Office Namespace / ImGearWordDocument Class / PageWidth Property




In This Topic
    PageWidth Property (ImGearWordDocument)
    In This Topic
    Gets the preferred width in pixels for the document pages.
    Syntax
    'Declaration
     
    Public ReadOnly Property PageWidth As Double
    'Usage
     
    Dim instance As ImGearWordDocument
    Dim value As Double
     
    value = instance.PageWidth
    public double PageWidth {get;}
    public: __property double get_PageWidth();
    public:
    property double PageWidth {
       double get();
    }

    Property Value

    Double value.
    Remarks

    Page dimensions of the document are stored in the WordprocessingML package. ImageGear retrieves them (if any) and applies upon loading of the document.

    In case of absence of page dimensions within the package, ImageGear by default uses letter size: 8.5"(width) x 11"(height) (1" is equal to 96 pixels).

    So, the default page width is 816 pixels.

    See Also