Resource Base
Table of contents

BaseStyle

Syntax

interface BaseStyle {
	border?: string; 
	background?: string;
}

Attributes

border

The border style contains three parts, borderWidth, borderStyle and borderColor.

Only takes effect when set borderWidth, borderStyle and borderColor at the same time.

borderWidth only supports px unit.

borderStyle only supports dashed, solid.

Example

border: "2px dashed red", 

background

The background style.

Example

background: "rgba(255,255,255,0)", 

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support