ASPJPEG水印中關于文字水印的幫助文檔(中英文對照)_ASP教程

      編輯Tag賺U幣
      教程Tag:暫無Tag,歡迎添加,賺取U幣!

      推薦:在ASP中利用“正則表達式” 對象實現UBB風格的論壇
      上一次,我們談到在ASP中如何利用“正則表達式”對象來實現各種數據的校驗,文中描述了正則表達式對象的強大功能,接下來,我們來看看有關“正則表達式”對象的其他功能。

      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

      分享:ASP 3.0高級編程(三十二)
      7.2.4 客戶端腳本錯誤 到目前為止,我們已了解了來自ASP的錯誤。然而ASP也經常用于創建包含客戶端腳本的網頁。如果包含客戶端代碼的<SCRIPT>元素沒有被設置成RUNAT="SERVER"屬

      來源:模板無憂//所屬分類:ASP教程/更新時間:2008-08-22
      相關ASP教程