Limited time promo

GetContentLayout2

English

This help topic applies only to novaPDF. If you don't have it yet, you must download it first.

Download now Buy licenses
Apr 08, 2022
novaPDF 11.x
We strive to keep our help as accurate as possible. If you notice any inconsistencies or outdated info please let us know.
The GetContentLayout2 method retrieves the content object and its layout object
HRESULT GetContentLayout2(
    [out, string] BSTR* p_pwsContentId
    [out, string] BSTR* p_pwsLayoutId
);

Parameters:

p_pwsContentId
    [out, string] - content id

p_pwsLayoutId
    [out, string] - layout id

Return values:

S_OK on success or COM error code
NV_NOT_INITIALIZED - Initialize was not called
NV_UNKNOWN_PROFILE - no profile loaded
NV_PROFILE_ERROR - error reading profile

Remarks:

The content layout defines how the printed content will be positioned on the PDF page. There is only one content object in the profile.
For layout options, see Working with Layout objects.