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 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.