THotPDF.SetPortfolioSplit Method
Writes the /Collection /Split dictionary (/Type /CollectionSplit), which suggests the orientation of the portfolio splitter bar (ISO 32000-2, Table 158)
Declaration
procedure SetPortfolioSplit(Direction: THPDFCollectionSplitDirection; Position: Double= -1.0);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Direction | csdHorizontal (/H), csdVertical (/V) or csdNoSplit / csdNone (/N); csdNone removes an existing /Split |
Position | Splitter position as a percentage in 0..100 (ISO 32000-2, Table 158); values above 100 raise, and a negative value (the default) omits /Position so the viewer can choose |
Return value
This member does not return a value
Usage notes
- Requires PDF 1.7;
/Splitis a PDF 2.0 feature (Adobe Extension Level 3 in PDF 1.7), so on a 1.7 document the method declares/Extensions /ADBEwith/BaseVersion /1.7and/ExtensionLevel 3automatically - Without
/Split, the preferred orientation follows/View: horizontal forD, vertical forT, and no splitter forHorC