SetFrameAndBackgroundOptions

 

Purpose: Set frame and background options.

 

Argument  

Type

Required

Purpose

1

Integer

Yes

Frame Thickness (0-3)

2

Integer

Yes

Frame corner type (0=square, 1=rounded)

3

Integer

Yes

Frame color. see About Color numbering and RGB Color

4

Integer

Yes

Background color. see About Color numbering and RGB Color

5

Integer

Yes

Effects target color. see About Color numbering and RGB Color

6

Integer

Yes

Fade type (0-6).  see Fade Types

7

Integer

Yes

Include background color on prints and metafiles (0=no, 1=yes)

8

Integer

Yes

Fill interior only (0=no, 1=yes)

 

   

 

 

 

Example: Set the frame to black/rounded with light blue fill 

 

Sub setframeoptions()
        milestonesobject.allcolorsarergb
        milestonesobject.setframeandbackgroundoptions("2", 1, RGB(0, 0, 0), RGB(204, 255, 255), RGB(255, 255, 255), 0, 0, 1)
        milestonesobject.refresh
    End Sub

Related Topics

  1. AddCurtain
  2. SetPageSize

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To effectively program with this interface, it's important to learn all about Milestones Professional.  Learn about Milestones.

Milestones Professional 2025 Automation Methods and Properties.  © Copyright 2000-2025, KIDASA Software, Inc. All rights reserved.