The element id of the ViewSheet on which the viewport appears,
or InvalidElementId if this viewport does not associate a view
with placement onto a sheet.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public ElementId SheetId { get; }