The LabelBlock object represents very general physical data applicable to the block
label. When you need to change some physical parameters for the block label, you get the LabelBlock
object using the Content property of the Label object, modify the LabelBlock object using its
properties, and then put it back in the Label object assigning your LabelBlock to
the Content property of your Label object. Please see the example for Label object
The exact type of the LabelBlock object you get by the Label.Content property
depends upon the problem type as show in the table:
Each LabelBlock's subtype inherits all the methods and properties of the basic LabelObject
type listed above.
The following example iterates through block labels in the document and turns all anisotropic
data to the polar coordinate system:
Dim lb As QuickField.Label
For Each lb In prb.DataDoc.Labels(qfBlock)
Dim blockData As LabelBlock
Set blockData = lb.Content
With blockData
If .Anisotropic Then .Polar = True
End With
lb.Content = blockData
Next