S Methods Reference (ActiveX)

These ActiveX methods all start with 'S'.

Methods

  • Save

    Saves a document or group of layer property settings; no longer supported for menu groups.

  • SaveAs

    Saves the document to a specified file; no longer supported for menu groups.

  • ScaleEntity

    Scales an object equally in the X, Y, and Z directions.

  • SectionSolid

    Creates a region that represents the intersection of a plane defined by three points and the solid.

  • Select

    Selects objects and places them into a selection set, or selects a cell in a table.

  • SelectAtPoint

    Selects an object passing through a given point and places it into a selection set.

  • SelectByPolygon

    Selects objects within a fence and adds them to the selection set.

  • SelectOnScreen

    Prompts the user to pick an object from the screen.

  • SelectSubRegion

    Selects a set of cells in a table.

  • SendCommand

    Sends a command string from a VB or VBA application to the document for processing.

  • SendModelessOperationEnded

    Indicates a modeless operation has ended.

  • SendModelessOperationStart

    Indicates a modeless operation will start.

  • SetAlignment

    Sets a cell alignment for the specified row types.

  • SetAlignment2

    Sets the cell alignment.

  • SetAutoScale

    Sets the value specifying whether auto scale is used in the specified row and column.

  • SetAutoScale2

    Sets the auto-scale flag value for a cell.

  • SetBackgroundColor

    Sets a background color value for the specified row types.

  • SetBackgroundColor2

    Sets a background color value for the specified named cell style.

  • SetBackgroundColorNone

    Sets the value specifying whether there is no background color for the specified row types.

  • SetBitmaps

    Sets the large and small bitmaps used as icons for the toolbar item.

  • SetBlockAttributeValue

    Sets the attribute value for an attribute in a block contained within a MLeader or Table object.

  • SetBlockAttributeValue2

    Sets the attribute value associated to a specified block cell.

  • SetBlockRotation

    Sets the block rotation angle for the specified row and column.

  • SetBlockScale

    Sets the block scale value for the specified row and column.

  • SetBlockTableRecordId

    Sets the block table record ID of the cell.

  • SetBlockTableRecordId2

    Sets the block table record object id associated to a specified cell.

  • SetBreakHeight

    Sets the break height for the table.

  • SetBulge

    Sets the bulge for the polyline at the given index.

  • SetCellAlignment

    Sets the cell alignment for the specified row and column.

  • SetCellBackgroundColor

    Sets the background true color value for the specified row and column.

  • SetCellBackgroundColorNone

    Sets the value specifying that there is no background color for the specified row and column.

  • SetCellClass

    Sets the class of a cell style.

  • SetCellContentColor

    Sets the true color value for the content of the specified row and column.

  • SetCellDataType

    Sets the cell data and unit type for the given row and column.

  • SetCellFormat

    Sets the cell format for the given row and column.

  • SetCellGridColor

    Sets the grid color value for an edge of the specified row and column.

  • SetCellGridLineWeight

    Sets the grid lineweight value for an edge of the specified row and column.

  • SetCellGridVisibility

    Sets the grid visibility value for an edge of the specified row and column.

  • SetCellState

    Sets the state for a cell.

  • SetCellStyle

    Sets a cell style to the cell.

  • SetCellTextHeight

    Sets the text height for the specified row and column.

  • SetCellTextStyle

    Sets the text style name for the specified row and column.

  • SetCellType

    Sets the cell type for the specified row and column.

  • SetCellValue

    Sets the cell value for the given row and column.

  • SetCellValueFromText

    Sets the cell value for the given row and column.

  • SetColor

    Sets the true color value for the specified row types.

  • SetColor2

    Sets the color value for the specified named cell style.

  • SetColorBookColor

    Specifies the color name from an existing color book.

  • SetColumnName

    Sets a name to a column.

  • SetColumnWidth

    Sets the column width for the column at the specified column index in the table.

  • SetContentColor

    Sets the true color value for the specified row types.

  • SetContentColor2

    Sets the color value for the cell content based on the row, column, and content location.

  • SetContentLayout

    Sets the content layout for a cell.

  • SetControlPoint

    Sets the control point of the spline at a given index.

  • SetCustomByIndex

    Sets the custom property name (key) and value that correspond to an index value.

  • SetCustomByKey

    Sets the custom property value that corresponds to a name (key) value.

  • SetCustomData

    Sets the custom data associated to a cell.

  • SetCustomScale

    Sets the custom scale for a layout or plot configuration.

  • SetDatabase

    Associates an AutoCAD database with the LayerStateManager object.

  • SetDataFormat

    Sets the format for the cell.

  • SetDataType

    Sets the data type and unit type for the specified row type.

  • SetDataType2

    Sets the row data type and unit type for the specified row type and nContent.

  • SetDoglegDirection

    Sets the dog leg direction of the specific leader.

  • SetFieldId

    Sets the field object ID of the specified cell.

  • SetFieldId2

    Sets the field object id associated to a specified cell.

  • SetFitPoint

    Sets a fit point for the spline.

  • SetFont

    Sets the definition data of the font for the TextStyle.

  • SetFormat

    Sets the format for the specified row type.

  • SetFormat2

    Sets the format of a cell style.

  • SetFormula

    Sets the formula for a cell.

  • SetGridColor

    Sets the grid color value for the specified grid linetypes and row types.

  • SetGridColor2

    Sets the gridColor for the specified cell.

  • SetGridDoubleLineSpacing

    Sets the lineSpacing value for the specified cell.

  • SetGridLineStyle

    Sets the gridLineStyle for a cell.

  • SetGridLinetype

    Sets the object with the gridLinetype value for the specified cell.

  • SetGridLineWeight

    Sets the grid lineweight value for the specified grid linetypes and row types.

  • SetGridLineWeight2

    Sets the gridLineWeight value for the specified cell.

  • SetGridSpacing

    Sets the grid spacing for the viewport.

  • SetGridVisibility

    Sets the grid visibility value for the specified grid linetype and row types.

  • SetGridVisibility2

    Sets the gridVisibility value for the specified cell or cell style.

  • SetInvisibleEdge

    Sets the visibility state of an edge at a given index.

  • SetLayoutsToPlot

    Specifies the layout or layouts to plot.

  • SetLeaderLineVertices

    Sets the vertices of leaderLine with specified index.

  • SetMargin

    Sets the margin for a cell.

  • SetNames

    Specifies the color name and book name of the color.

  • SetOverride

    Sets the overrides for a cell.

  • SetPattern

    Sets the pattern name and pattern type for the hatch.

  • SetProjectFilePath

    Sets the directory in which AutoCAD looks for external reference files.

  • SetRelativeDrawOrder

    Sets the relative draw order specified, with the bottom objects first.

  • SetRGB

    Specifies the RGB values of the True Color.

  • SetRotation

    Sets the rotation value for a cell.

  • SetRowHeight

    Sets the height for the row at the specified row index in the table.

  • SetScale

    Sets the scale value for a cell.

  • SetSnapSpacing

    Sets the snap spacing for the viewport.

  • SetSubSelection

    Sets the row and column indices of the cells in a subselection set.

  • SetTemplateId

    Sets a template using an object ID to the table style.

  • SetText

    Sets the text value for the specified row and column.

  • SetTextHeight

    Sets the text height for the specified row types.

  • SetTextHeight2

    Sets the text height for a cell.

  • SetTextRotation

    Sets the text rotation for the specified row and column.

  • SetTextString

    Sets the text value of a cell.

  • SetTextStyle

    Sets the text style name for the specified row types.

  • SetTextStyle2

    Sets the text style name for a cell.

  • SetTextStyleId

    Sets a text style using an object ID to a named cell style.

  • SetToolTip

    Sets the tooltip for a cell.

  • SetValue

    Sets the value of a cell.

  • SetValueFromText

    Sets the value of a cell by parsing the text.

  • SetVariable

    Sets the value of an AutoCAD system variable.

  • SetView

    Sets the view in a viewport to a saved view in the Views Collection object.

  • SetWeight

    Sets the weight of the control point at a given index.

  • SetWidth

    Sets the start and end width of a polyline, given the segment index.

  • SetWindowToPlot

    Sets the coordinates that define the portion of the layout to plot.

  • SetXData

    Sets the extended data (XData) associated with an object.

  • SetXRecordData

    Sets the extended record data (XRecordData) associated with a dictionary.

  • SliceSolid

    Creates a slice of the 3DSolid object given three points that define the plane.

  • Split

    Splits a viewport into the given number of views.

  • StartBatchMode

    Starts printing in batch mode. (Obsolete)

  • StartUndoMark

    Marks the beginning of a block of operations.

  • SwapOrder

    Swaps the draw order positions of two objects.

  • SyncModelView

    Updates the viewport parameters with the parameters in the associated model view.