An enum containing various bit flags to indicate properties for instances of ChartbreakerObject or it's options
Bits 1-16 are reserved by ChartBreaker; applications may use all aditional bits
Checking for a flag
// manually varisLocked = (object.get('objFlags') & ObjectEFlags.LOCKED); // using the utility methods varisLocked = utils.hasFlag(object, ObjectEFlags.LOCKED);
Modifying flags
Unlike most other config values, you will probably not want to directly set a new value most of the time.
Instead, you might want to add, remove or toggle flags
// adding a flag manually using | object.set('objFlags', object.get('objFlags') | ObjectEFlags.LOCKED); // using the utility method utils.addFlag(object, ObjectEFlags.LOCKED); // removing a flag manually using &~ object.set('objFlags', object.get('objFlags') & ~ObjectEFlags.LOCKED); // using the utility method utils.rmFlag(object, ObjectEFlags.LOCKED); // toggling flags manually using ^ object.set('objFlags', object.get('objFlags') ^ ObjectEFlags.LOCKED);
Note
bit flags combine via |, so the value type is a plain number
An enum containing various bit flags to indicate properties for instances of ChartbreakerObject or it's options Bits 1-16 are reserved by ChartBreaker; applications may use all aditional bits
Checking for a flag
Modifying flags
Unlike most other config values, you will probably not want to directly set a new value most of the time. Instead, you might want to add, remove or toggle flags