This help topic applies only to novaPDF. If you don't have it yet, you must download it first.
Download now Buy licenses
Adrian (Softland)
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 codeNV_NOT_INITIALIZED
- Initialize was not calledNV_UNKNOWN_PROFILE
- no profile loadedNV_PROFILE_ERROR
- error reading profileRemarks:
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.