Previous Document Next Document

Object Model Reference : Classes : T : TextureFill : Properties : TextureFill.MaximumTileWidth


TextureFill.MaximumTileWidth

Property MaximumTileWidth As Long

Description

Member of TextureFill

The MaximumTileWidth property returns or specifies the maximum size, in pixels, of a tile in a texture-fill pattern.

VBA example

The following VBA example applies a texture fill to a rectangle and displays the maximum size of tiles in the texture.

Sub Test()
 Dim s As Shape
 Dim tf As TextureFill
 Set s = ActiveLayer.CreateRectangle(0, 0, 4, 4)
 Set tf = s.Fill.ApplyTextureFill("Leather 3C")
 MsgBox "Max tile width = " & tf.MaximumTileWidth
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.