toColor()

Description

Converts to a 24-bit RGB document.

Syntax

toColor()

Parameters

None

Return value

Void

Remarks

If it's already a 24-bit RGB document, do nothing. If not, convert it to a 24-bit RGB document.

See Also

toGrey()
toBlackWhite()

Example

class ViewController: UIViewController{
    var dcsView:DcsView!
    override func viewDidLoad() {
        super.viewDidLoad()
        dcsView = DcsView(frame: CGRect(x:0,y:0,width:self.view.frame.size.width,height:self.view.frame.size.height))
        dcsView.currentView = DVE_EDITORVIEW
        dcsView.documentEditorView.toColor()
    }
}
Is this page helpful?

Leave a Reply

Your email address will not be published.