Partager via


CPrintInfo::GetOffsetPage

Call this function to retrieve the offset when printing multiple DocObject items from a DocObject client.

UINT GetOffsetPage( ) const;

Return Value

The number of pages preceding the first page of a DocObject item being printed in a combined DocObject print job.

Remarks

This value is referenced by the m_nOffsetPage member. The first page of your document will be numbered the m_nOffsetPage value + 1 when printed as a DocObject with other active documents. The m_nOffsetPage member is valid only if the m_bDocObject value is TRUE.

Requirements

Header: afxext.h

See Also

Reference

CPrintInfo Structure

Hierarchy Chart

CPrintInfo::m_nOffsetPage

CPrintInfo::m_bDocObject