Could someone explain in stupid term what the difference is between MaskEx, FlagEx against normal Flag etc. Does the Ex add a new property to the current annot properties?
Thanks
Simon
MaskEx and FlagEx
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: MaskEx and FlagEx
Hello lidds,
No difference - just overcrowded enum - that's all.
For example - see this:
As you can see, it's values are way too big to also store these and keep things tidy:
Cheers,
Alex
No difference - just overcrowded enum - that's all.
For example - see this:
Code: Select all
enum PXV_OpModifyAnnotMaskFlags
{
OpModifyAnnot_BorderWidth = 1,
OpModifyAnnot_BorderStyle = 2,
OpModifyAnnot_Border = 3,
OpModifyAnnot_SColor = 8,
OpModifyAnnot_FColor = 16,
OpModifyAnnot_NoteIcon = 32,
OpModifyAnnot_Opacity = 64,
OpModifyAnnot_Author = 128,
OpModifyAnnot_Subject = 256,
OpModifyAnnot_Text = 512,
OpModifyAnnot_RichText = 1024,
OpModifyAnnot_LS = 2048,
OpModifyAnnot_LE = 4096,
OpModifyAnnot_LLO = 8192,
OpModifyAnnot_LLL = 16384,
OpModifyAnnot_LLE = 32768,
OpModifyAnnot_LCV = 65536,
OpModifyAnnot_LCO = 131072,
OpModifyAnnot_LCI = 262144,
OpModifyAnnot_HighlightMode = 524288,
OpModifyAnnot_Actions = 1048576,
OpModifyAnnot_BlendMode = 2097152,
OpModifyAnnot_Flags = 4194304,
OpModifyAnnot_UnderlineStyle = 8388608,
OpModifyAnnot_Name = 16777216,
OpModifyAnnot_ModDate = 33554432,
OpModifyAnnot_Rotation = 67108864,
OpModifyAnnot_Measure = 134217728,
OpModifyAnnot_DefStyle = 268435456,
OpModifyAnnot_Layer = 536870912,
OpModifyAnnot_LineLength = 1073741824,
OpModifyAnnot_Opened = -2147483648,
};
Code: Select all
enum PXV_OpModifyAnnotMaskExFlags
{
OpModifyAnnotEx_OFC = 1,
OpModifyAnnotEx_OT = 2,
OpModifyAnnotEx_ORT = 4,
OpModifyAnnotEx_DefFont = 16,
OpModifyAnnotEx_DefFontSize = 32,
OpModifyAnnotEx_DefTextColor = 64,
OpModifyAnnotEx_DefTextAlign = 128,
OpModifyAnnotEx_LSS = 256,
OpModifyAnnotEx_LES = 512,
OpModifyAnnotEx_ContentRotation = 1024,
OpModifyAnnotEx_Activation = 2048,
OpModifyAnnotEx_Deactivation = 4096,
OpModifyAnnotEx_DefaultView = 16384,
OpModifyAnnotEx_LineWidthProfile = 32768,
};
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ