SetPrintArea
Use to set printing area. Pass NULL to clear existing printing area.
BOOL SetPrintArea( const ORANGE * pRange )
TRUE for success
EX1
BOOL Worksheet_SetPrintArea_Ex1(const ORANGE& rng) { Worksheet wks = Project.ActiveLayer(); return wks.SetPrintArea(&rng); }
EX2
BOOL Worksheet_ClearPrintArea_Ex2() { Worksheet wks = Project.ActiveLayer(); return wks.SetPrintArea(NULL); }
Worksheet::GetPrintArea
origin.h