private void InternCalcAttribFlags() { if (!mblnFriendLetFlags) { mnumAttribFlags = (Enums.AcAttributeMode)Conversions.ToInteger(Interaction.IIf(Invisible, Enums.AcAttributeMode.acAttributeModeInvisible, 0)); mnumAttribFlags = (Enums.AcAttributeMode)Conversions.ToInteger(Operators.OrObject(mnumAttribFlags, Interaction.IIf(Constant, Enums.AcAttributeMode.acAttributeModeConstant, 0))); mnumAttribFlags = (Enums.AcAttributeMode)Conversions.ToInteger(Operators.OrObject(mnumAttribFlags, Interaction.IIf(Verify, Enums.AcAttributeMode.acAttributeModeVerify, 0))); mnumAttribFlags = (Enums.AcAttributeMode)Conversions.ToInteger(Operators.OrObject(mnumAttribFlags, Interaction.IIf(Preset, Enums.AcAttributeMode.acAttributeModePreset, 0))); } }
public AcadAttribute AddAttribute(object vvarHeight, Enums.AcAttributeMode vnumMode, string vstrPrompt, object vvarInsertionPoint, string vstrTag, string vstrValue, string nvstrHandle = "") { return(mobjAcadBlock.AddAttribute(RuntimeHelpers.GetObjectValue(vvarHeight), vnumMode, vstrPrompt, RuntimeHelpers.GetObjectValue(vvarInsertionPoint), vstrTag, vstrValue, nvstrHandle)); }