您当前的位置: 首页 > 网站编程 > ASP教程 > ASPJPEG水印中关于文字水印的帮助文档(中英文对照)

ASPJPEG水印中关于文字水印的帮助文档(中英文对照)

作者:guanchaofeng 来源:不详 发布时间: 2009-03-24 17:22 点击:
Font Properties (字体属性) BkColor As Long (read/write) (背景颜色定义为长整性) Specifies the font's background color. Font.BkMode must be set to anything other that "transparent" for this property to take effect. 设置字体背景颜色,Font.BkMo

ASPJPEG水印中关于文字水印的帮助文档(中英文对照)

Font Properties (字体属性)

BkColor As Long (read/write) (背景颜色定义为长整性)
Specifies the font's background color. Font.BkMode must be set to anything other that "transparent" for this property to take effect.
设置字体背景颜色,Font.BkMode (背景模式)必须设置为其他的模式属性值不能为transparent才能生效

(即是transparent是透明的效果)

BkMode As String (read/write) (背景模式)
"Transparent" by default. If set to any other value, such as "Opaque", the font's background is colored with Font.BkColor.
"Transparent"是默认的.如果设置为其他的值,比如"Opaque",字体的背景颜色将是Font.BkColor. 的值

(注意,如果没有设置为Opaque,必须要设置这个jpeg.Canvas.DrawGraph )

Bold As Long (read/write)
Specifies whether a bold font should be used. False by default.

Color As Long (read/write) (颜色)
Specifies font color, e.g. &H00FF00 for green. 0 (black) by default.
设置字体颜色. 比如:&H00FF00为绿色.0(黑色)为默认值

说明: 请采用十六进制表示:加入&H

Family As String (read/write) (字体)
Specifies font family such as "Arial" or "Courier New". A system-default font is used if this property is not specified, or the specified font is not found.
设置字体为"Arial" 或则 "Courier New".系统将使用默认字体 如果没有设置字体.或则设置的字体没有找到

Italic As Long (read/write)
Specifies whether an italic font should be used. False by default.

Quality As Long (read/write) (品质)
Specifies text quality. Valid values: 0 (Default), 1 (Draft), 2 (Proof), 3 (Non-Antialiased), 4 (Antialiased).
Text usually appears anti-aliased only if the Font.BkMode is set to "Opaque".

设置文本(水印)的品质:可以取值: 0(默认)1(草稿)2(校样)3()4()

文本水印如果要显示anti-aliased 只有设置了Font.BkMode 模式为"Opaque

Specifies the color of a text shadow, if present.

Specifies text rotation angle (in degrees, rotation is counter-clockwise). 0 (horizontal) by default.

Rotation As Long (read/write) ShadowColor As Long (read/write) ShadowXoffset As Long (read/write)

Specifies horizontal offset of a text shadow, in pixels. 0 by default (no shadow).

ShadowYoffset As Long (read/write)
Specifies vertical offset of a text shadow, in pixels. 0 by default (no shadow).

Size As Long (read/write)
Specifies font size, in pixels. 24 by default.

Underlined As Long (read/write)
Specifies whether an underlined font should be used. False by default
分享到:
本文"ASPJPEG水印中关于文字水印的帮助文档(中英文对照)"由远航站长收集整理而来,仅供大家学习与参考使用。更多网站制作教程尽在远航站长站。
顶一下
(0)
0%
踩一下
(0)
0%
[点击 次] [返回上一页] [打印]
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
关于本站 - 联系我们 - 网站声明 - 友情连接- 网站地图 - 站点地图 - 返回顶部
Copyright © 2007-2013 www.yhzhan.com(远航站长). All Rights Reserved .
远航站长:为中小站长提供最佳的学习与交流平台,提供网页制作与网站编程等各类网站制作教程.
官方QQ:445490277 网站群:26680406 网站备案号:豫ICP备07500620号-4