UserDefinedMarginX Property


Print Parameters User Defined Margin X Property

Note: This API is now obsolete.

The User defined X value of offset from left bottom corner. Unit is inch.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
[ObsoleteAttribute("This property is obsolete. Use OriginOffsetX instead.")]
public double UserDefinedMarginX { get; set; }

Property Value

Double
Exceptions
Exception Condition
InvalidOperationException Thrown if PaperPlacement is not Margins and MarginType is not User defined type.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →