CopyRangeArgument Class
CopyRangeArgument for template marker. Specifies range that should be copied for each new marker element.
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XlsIO.Implementation.TemplateMarkers
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[TemplateMarker]
public class CopyRangeArgument : JumpArgument, ICloneable
Constructors
CopyRangeArgument()
Initializes a new instance of the CopyRangeArgument class.
Declaration
public CopyRangeArgument()
Properties
IsAllowMultiple
Indicates whether argument can be present multiple times in single template marker. Read-only.
Declaration
public override bool IsAllowMultiple { get; }
Property Value
Type |
---|
System.Boolean |
Overrides
Priority
Returns priority of the argument. Read-only.
Declaration
public override int Priority { get; }
Property Value
Type |
---|
System.Int32 |
Overrides
Methods
ApplyArgument(IWorksheet, Point, ref Int32, ref Int32, IList<Int64>, MarkerOptionsImpl, Int32)
Applies argument to the marker at the specified position and to the list of cells with markers.
Declaration
public override void ApplyArgument(IWorksheet sheet, Point pOldPosition, ref int iRow, ref int iColumn, IList<long> arrMarkerCells, MarkerOptionsImpl options, int count)
Parameters
Type | Name | Description |
---|---|---|
IWorksheet | sheet | Worksheet that contains cell to apply marker argument to. |
System.Drawing.Point | pOldPosition | Previous cell position. |
System.Int32 | iRow | One-based row index of the cell to apply marker argument to. |
System.Int32 | iColumn | One-based column index of the cell to apply marker argument to. |
System.Collections.Generic.IList<System.Int64> | arrMarkerCells | List of cells with markers. |
MarkerOptionsImpl | options | Marker options. |
System.Int32 | count |
Overrides
TryParse(String)
Tries to parse argument string.
Declaration
public override MarkerArgument TryParse(string strArgument)
Parameters
Type | Name | Description |
---|---|---|
System.String | strArgument | Argument to parse. |
Returns
Type | Description |
---|---|
MarkerArgument | Parsed argument if possible; null otherwise. |
Overrides
Implements
System.ICloneable