UserDefinedMarginY Property


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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)

Syntax

C#
[ObsoleteAttribute("This property is obsolete. Use OriginOffsetY instead.")]
public double UserDefinedMarginY { get; set; }
Visual Basic
<ObsoleteAttribute("This property is obsolete. Use OriginOffsetY instead.")> _
Public Property UserDefinedMarginY As Double
	Get
	Set
Visual C++
[ObsoleteAttribute(L"This property is obsolete. Use OriginOffsetY instead.")]
public:
property double UserDefinedMarginY {
	double get ();
	void set (double value);
}

Exceptions

Exception Condition
Autodesk.Revit.Exceptions 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 →