NStyleLibs Property

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

Description

Returns the number of style libraries, assigned to the selected format.

Note: have in mind that the index of the first library is 0, thus in for next loop, use nStyleLibs -1 for the last library.

Syntax

iNStyleLibs = object.NStyleLibs

object

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

Example

  Dim objFormat As Format = Ted.GetFormat

  Dim objT = Ted.GetActiveTxt

   objFormat.Id = objT.FormatId

   msgbox (objFormat.NStyleLibs)

Context

Property