【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.33.19 Page::SetFlag
Contents
Description
Set or clear an internal flag. These bits are part of a control DWORD in the Page structure that are not saved into OPJ. They are only used to control transient properties in the page
Syntax
void SetFlag( DWORD dwBit, BOOL bSet = true )
Parameters
- dwBit
- [input] bit to set or clear, PGDWNS_DISABLE_LT_EVENTS, PGDWNS_PLOT_EXCLUDED_FROM_MANAGER etc
- bSet
- [input] true to turn bit on and false to turn it off
Return
Examples
EX1
//Create a graph before run the code void Page_SetFlag_Ex1(string strPageName = "Graph1") { GraphPage pg(strPageName); if( pg ) { pg.SetFlag(PGDWNS_DISABLE_LT_EVENTS, true); if( !pg.TestFlag(PGDWNS_DISABLE_LT_EVENTS) ) printf("Fail to set page flag\n."); } }
Remark
See Also
Header to Include
origin.h