Limited time promo

GetContentLayout

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 GetContentLayout method retrieves the content object and its layout object
HRESULT GetContentLayout(
    [out, string] LPWSTR* p_pwsContentId
    [out, string] LPWSTR* 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.