HotPDF Developer Reference
Delphi and C++Builder PDF component help
|
THPDFPage.Width
|
Top Previous Next |
|
Specifies the horizontal size of the page.
Delphi syntax: property Width: integer;
C++ syntax: __property int Width;
Description Use the Width property to read or change the width of the page. For standard paper, drawing, card, ID/passport, and photo formats, prefer the predefined THPDFPage.Size enum values such as A2, A3, B2, B4, A5, B5, Tabloid, Ledger, ANSIC, ARCHD, and P8R. Existing psXXX names remain compatible aliases. Use Width and Height with UserDefined only when the required dimensions are not predefined. Tabloid is 11 x 17 inches. Ledger is the landscape 17 x 11 inch size; do not treat Ledger as another name for portrait Tabloid. Photo-size enum names use a P prefix when the real specification starts with a digit. For example, P5R represents the user-facing 5R photo size.
Code Example
|