StyleLibId Property

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 17:09

Description

Returns the id of the selected linked style library.

Syntax

object.StyleLibId(i)

object

Required. Object name. Returned by Dim objFormat = Ted.GetFormat or Dim objFormat = Fred.GetFormat.

i

Required. Library index index in the range of 0 to NStyleLibs -1

Example

  Dim objFormat As Format = Ted.GetFormat

  Dim objT = Ted.GetActiveTxt

   objFormat.Id = objT.FormatId

   MsgBox(objFormat.DefaultParaCopyFit)

  Dim i As Integer

  Dim str As String = ""

  For i = 0 To objFormat.NStyleLibs - 1

     str = str & objFormat.StyleLibId(CShort(i)) & " "

  Next

Context

Property