StandardPapers

From PDF XChange PDF SDK
Jump to: navigation, search
(Options Table)
Line 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
{{#customTitle:Options}}
+
{{#customTitle:StandardPapers}}
{{#parentPage:PXV:op_newBlankDoc}}
+
{{#parentPage:PXV:Params_NamedValues|StandardPapers|enum}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
  
== Options Table ==
+
== StandardPapers ==
 +
Specifies...
  
{| class="wikitable op_options"
+
{| class="wikitable namedvalues"
! style="width:120pt;" | '''Name'''
+
! style="width:100pt;" | Name
! style="width:60pt;" | '''Type'''
+
! style="width:60pt;" | Value
! '''Value'''
+
! style="width:150pt;" | Description
 
|-
 
|-
| class="op_param_name" | PaperType
+
| class="op_param_name" | A0 || class="op_param_name" | 0 || ...
| style="text-align:center" | Integer
+
| Specifies type of paper size that should be used for newly added pages. Possible values are:
+
{| class="op_internal_table"
+
 
|-
 
|-
| class="op_enum_value" | '''0''' (Document) || use size of first page of the document;
+
| class="op_param_name" | A1 || class="op_param_name" | 1 || ...
 
|-
 
|-
| class="op_enum_value" | '''1''' (Standard) || use standard page size specified by <code>StdPaperIndex</code> parameter;
+
| class="op_param_name" | A2 || class="op_param_name" | 2 || ...
 
|-
 
|-
| class="op_enum_value" | '''2''' (Custom) || use page size specified by <code>Width</code>, and <code>Height</code> parameters.
+
| class="op_param_name" | A3 || class="op_param_name" | 3 || ...
|}
+
Default value: <tt>'''1''' (Standard)</tt>
+
 
|-
 
|-
| class="op_param_name" | Landscape
+
| class="op_param_name" | A4 || class="op_param_name" | 4 || ...
| style="text-align:center" | Boolean
+
| Specifies orientation of the page.
+
 
+
Default value: <tt>'''false'''</tt>
+
 
|-
 
|-
| class="op_param_name" | StdPaperIndex
+
| class="op_param_name" | A5 || class="op_param_name" | 5 || ...
| style="text-align:center" | Integer
+
| Specifies one of standard predefined page size. The list of possible values are shown in [[PXV:Params_NamedValues_StdPaperIdnex|the table]].
+
 
|-
 
|-
| class="op_param_name" | Width
+
| class="op_param_name" | B0 || class="op_param_name" | 6 || ...
| style="text-align:center" | Double
+
| Specifies width of new pages in pt (1 pt = 1/72 in). The value should be in range from 3 to 14400. This parameter is used when <code>PaperType</code> has value of <tt>'''2''' (Custom)</tt>.
+
 
+
Default value: '''595.28''' (equivalent of 210 mm).
+
 
|-
 
|-
| class="op_param_name" | Height
+
| class="op_param_name" | B1 || class="op_param_name" | 7 || ...
| style="text-align:center" | Double
+
| Specifies height of new pages in pt (1 pt = 1/72 in). The value should be in range from 3 to 14400. This parameter is used when <code>PaperType</code> has value of <tt>'''2''' (Custom)</tt>.
+
 
+
Default value: '''841.89''' (equivalent of 297 mm).
+
 
|-
 
|-
| class="op_param_name" | Count
+
| class="op_param_name" | B2 || class="op_param_name" | 8 || ...
| style="text-align:center" | Integer
+
| Specifies a number of new pages to be created.
+
 
+
Default value: '''1'''.
+
 
|-
 
|-
| class="op_param_name" | Rotation
+
| class="op_param_name" | B4 || class="op_param_name" | 9 || ...
| style="text-align:center" | Integer
+
| Specifies rotation of newly added pages. The value must be an integer multiply of 90.
+
 
+
Default value: '''0'''.
+
 
|-
 
|-
| class="op_param_name" | [[#Adv1|Adv1]]
+
| class="op_param_name" | B5 || class="op_param_name" | 10 || ...
| style="text-align:center" | Dictionary
+
| Приклад, як повинен представлятись dictionary в параметрах. Елементи dictionary описуються в додатковій таблиці нижче. Сам параметр є лінком на цю таблицю. У випадку якщо маємо масив dictionary, то цей dictionary описується так само в окремій таблиці
+
 
|-
 
|-
| class="op_param_name" | [[PXV:cs_RectF|Margins]]
+
| class="op_param_name" | Letter
| style="text-align:center" | Dictionary
+
| rowspan=2 class = "op_param_name" | 11
| Specifies margins.
+
| rowspan=2 | ...
 
+
|-
The following default values of base [[PXV:cs_RectF|structure]] are overridden:
+
| class="op_param_name" | ANSI A
:<code>right</code>: <tt>'''0.0'''</tt>,
+
|-
:<code>top</code>: <tt>'''0.0'''</tt>.  
+
| class="op_param_name" | Tabloid
|}
+
| rowspan=2 class = "op_param_name" | 12
 
+
| rowspan=2 | ...
== Adv1 Table ==
+
|-
{| class="wikitable op_options" id="Adv1"
+
| class="op_param_name" | ANSI B
! style="width:120pt;" | '''Name'''
+
|-
! style="width:60pt;" | '''Type'''
+
| class="op_param_name" | ANSI Super B || class="op_param_name" | 13 || ...
! '''Value'''
+
|-
 +
| class="op_param_name" | ANSI C || class="op_param_name" | 14 || ...
 +
|-
 +
| class="op_param_name" | ANSI D || class="op_param_name" | 15 || ...
 +
|-
 +
| class="op_param_name" | ANSI E || class="op_param_name" | 16 || ...
 +
|-
 +
| class="op_param_name" | ANSI F || class="op_param_name" | 17 || ...
 +
|-
 +
| class="op_param_name" | US Legal || class="op_param_name" | 18 || ...
 +
|-
 +
| class="op_param_name" | Statement || class="op_param_name" | 19 || ...
 +
|-
 +
| class="op_param_name" | Executive || class="op_param_name" | 20 || ...
 +
|-
 +
| class="op_param_name" | Folio || class="op_param_name" | 21 || ...
 +
|-
 +
| class="op_param_name" | Quarto || class="op_param_name" | 22 || ...
 +
|-
 +
| class="op_param_name" | Note || class="op_param_name" | 23 || ...
 +
|-
 +
| class="op_param_name" | Envelope #9 || class="op_param_name" | 24 || ...
 +
|-
 +
| class="op_param_name" | Envelope #10 || class="op_param_name" | 25 || ...
 +
|-
 +
| class="op_param_name" | Envelope #11 || class="op_param_name" | 26 || ...
 +
|-
 +
| class="op_param_name" | Envelope #14 || class="op_param_name" | 27 || ...
 +
|-
 +
| class="op_param_name" | Envelope DL || class="op_param_name" | 28 || ...
 +
|-
 +
| class="op_param_name" | Envelope C5 || class="op_param_name" | 29 || ...
 +
|-
 +
| class="op_param_name" | Envelope C3 || class="op_param_name" | 30 || ...
 +
|-
 +
| class="op_param_name" | Envelope C4 || class="op_param_name" | 31 || ...
 +
|-
 +
| class="op_param_name" | Envelope C6 || class="op_param_name" | 32 || ...
 +
|-
 +
| class="op_param_name" | Envelope C65 || class="op_param_name" | 33 || ...
 +
|-
 +
| class="op_param_name" | Envelope B4 || class="op_param_name" | 34 || ...
 +
|-
 +
| class="op_param_name" | Envelope B5 || class="op_param_name" | 35 || ...
 +
|-
 +
| class="op_param_name" | Envelope B6 || class="op_param_name" | 36 || ...
 +
|-
 +
| class="op_param_name" | Env. Monarch || class="op_param_name" | 37 || ...
 +
|-
 +
| class="op_param_name" | Env. Personal || class="op_param_name" | 38 || ...
 +
|-
 +
| class="op_param_name" | JIS B0 || class="op_param_name" | 39 || ...
 +
|-
 +
| class="op_param_name" | JIS B1 || class="op_param_name" | 40 || ...
 +
|-
 +
| class="op_param_name" | JIS B2 || class="op_param_name" | 41 || ...
 +
|-
 +
| class="op_param_name" | JIS B3 || class="op_param_name" | 42 || ...
 +
|-
 +
| class="op_param_name" | JIS B4 || class="op_param_name" | 43 || ...
 +
|-
 +
| class="op_param_name" | JIS B5 || class="op_param_name" | 44 || ...
 +
|-
 +
| class="op_param_name" | JIS B6 || class="op_param_name" | 45 || ...
 +
|-
 +
| class="op_param_name" | JIS B7 || class="op_param_name" | 46 || ...
 +
|-
 +
| class="op_param_name" | 18x24 || class="op_param_name" | 47 || ...
 +
|-
 +
| class="op_param_name" | 24x36 || class="op_param_name" | 48 || ...
 
|-
 
|-
| class="op_param_name" | PaperType
+
| class="op_param_name" | 30x42 || class="op_param_name" | 49 || ...
| style="text-align:center" | Integer
+
| Array of '''IUnknown'''-based objects.
+
 
|}
 
|}
 +
== See Also ==
 +
[[PXV:ToPDF]], [[PXV:ToRTF]]

Revision as of 02:53, 22 May 2015


StandardPapers

Specifies...

Name Value Description
A0 0 ...
A1 1 ...
A2 2 ...
A3 3 ...
A4 4 ...
A5 5 ...
B0 6 ...
B1 7 ...
B2 8 ...
B4 9 ...
B5 10 ...
Letter 11 ...
ANSI A
Tabloid 12 ...
ANSI B
ANSI Super B 13 ...
ANSI C 14 ...
ANSI D 15 ...
ANSI E 16 ...
ANSI F 17 ...
US Legal 18 ...
Statement 19 ...
Executive 20 ...
Folio 21 ...
Quarto 22 ...
Note 23 ...
Envelope #9 24 ...
Envelope #10 25 ...
Envelope #11 26 ...
Envelope #14 27 ...
Envelope DL 28 ...
Envelope C5 29 ...
Envelope C3 30 ...
Envelope C4 31 ...
Envelope C6 32 ...
Envelope C65 33 ...
Envelope B4 34 ...
Envelope B5 35 ...
Envelope B6 36 ...
Env. Monarch 37 ...
Env. Personal 38 ...
JIS B0 39 ...
JIS B1 40 ...
JIS B2 41 ...
JIS B3 42 ...
JIS B4 43 ...
JIS B5 44 ...
JIS B6 45 ...
JIS B7 46 ...
18x24 47 ...
24x36 48 ...
30x42 49 ...

See Also

PXV:ToPDF, PXV:ToRTF