Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView.DocumentModels Class / ColumnAxis Property
Example


In This Topic
    ColumnAxis Property
    In This Topic
    Gets or sets the column axis model.
    Syntax
    'Declaration
     
    Public Property ColumnAxis As ISheetAxisModel
    'Usage
     
    Dim instance As SheetView.DocumentModels
    Dim value As ISheetAxisModel
     
    instance.ColumnAxis = value
     
    value = instance.ColumnAxis
    public ISheetAxisModel ColumnAxis {get; set;}

    Property Value

    ISheetAxisModel object containing the axis model
    Exceptions
    ExceptionDescription
    Model is not specified (or specified value is null)
    Example
    This example specifies the size of the first column.
    FarPoint.Win.Spread.SheetView.DocumentModels dm = new FarPoint.Win.Spread.SheetView.DocumentModels();
    dm = fpSpread1.ActiveSheet.Models;
    dm.ColumnAxis.SetSize(0, 120);
    Dim dm As New FarPoint.Win.Spread.SheetView.DocumentModels()
    dm = FpSpread1.ActiveSheet.Models
    dm.ColumnAxis.SetSize(0, 120)
    See Also