MarginType Property


The print margin type.

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

Syntax

C#
public MarginType MarginType { get; set; }
Visual Basic
Public Property MarginType As MarginType
	Get
	Set
Visual C++
public:
property MarginType MarginType {
	MarginType get ();
	void set (MarginType value);
}

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException Thrown when the input argument is out of range.
Autodesk.Revit.Exceptions InvalidOperationException Thrown if the PaperPlacement is not Margins 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 →