123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719 |
- VERSION 5.00
- Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} frmSelectSame
- Caption = "Similar Selection Plus"
- ClientHeight = 5745
- ClientLeft = 495
- ClientTop = 5895
- ClientWidth = 3255
- OleObjectBlob = "frmSelectSame.frx":0000
- ShowModal = 0
- End
- Attribute VB_Name = "frmSelectSame"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Public ssreg As ShapeRange
- Private Const TOOLNAME As String = "VBA_SelectSame"
- Private Const SECTION As String = "Options"
- Private Sub UserForm_Initialize()
- LNG_CODE = Val(GetSetting("LYVBA", "Settings", "I18N_LNG", "1033"))
- Init_Translations Me, LNG_CODE
- Me.Caption = i18n("Similar Selection Plus", LNG_CODE)
- End Sub
- Private Sub btnSelect_Click()
- If 0 = ActiveSelectionRange.Count Then Exit Sub
- On Error GoTo ErrorHandler
-
- Dim fLeft As Double, fTop As Double
- fLeft = frmSelectSame.Left
- fTop = frmSelectSame.Top
- SaveSetting "SelectSame", "Preferences", "form_left", fLeft
- SaveSetting "SelectSame", "Preferences", "form_top", fTop
-
-
- If OptBt.value = False Then
- API.BeginOpt
- Else
- add_ssreg
- End If
-
- If (chkFill = False And chkOutline = False And chkOutlineColor = False And _
- chkOutlineLength = False And chkSize = False And chkWHratio = False And _
- chkType = False And chkNodes = False And chkSegments = False And _
- chkPaths = False And chkFontName = False And chkFontSize = False And chkShapeName = False) Then
- MsgBox "请至少选择一个选项", vbCritical, "Select Same"
- GoTo ErrorHandler
- End If
- With Me
- .SelectAllSimilar .chkFill, .chkOutline, .chkOutlineColor, .chkOutlineLength, _
- .chkSize, .chkWHratio, .chkType, .chkNodes, .chkSegments, .chkPaths, _
- .OptDoc, .Optpage, .Optlayer, .chkInGroups, .chkColorMark, .chkIndiv, _
- .chkFontName, .chkFontSize, .chkShapeName
- End With
-
- API.EndOpt
-
- Exit Sub
- ErrorHandler:
- Application.Optimization = False
- End Sub
- Sub SelectAllSimilar(Optional CheckFill As Boolean = True, _
- Optional CheckOutline As Boolean = True, _
- Optional CheckOutlineColor As Boolean = True, _
- Optional CheckOutlineLength As Boolean = True, _
- Optional CheckSize As Boolean = False, _
- Optional CheckWHratio As Boolean = False, _
- Optional CheckType As Boolean = True, _
- Optional CountNodes As Boolean = False, _
- Optional CountSegments As Boolean = False, _
- Optional CountPaths As Boolean = False, _
- Optional WithinDoc As Boolean = False, _
- Optional WithinPage As Boolean = True, _
- Optional WithinLayer As Boolean = False, _
- Optional WithinGroups As Boolean = True, _
- Optional CheckColorMark As Boolean = False, _
- Optional CheckIndiv As Boolean = True, _
- Optional CheckFontName As Boolean = False, _
- Optional CheckFontSize As Boolean = False, _
- Optional CheckShapeName As Boolean = False)
-
-
- Dim shpsSelected As Shapes
- Dim shpsToTest As Shapes
- Dim pagesr As ShapeRange
- Dim docsr As New ShapeRange
- Dim shpModel As Shape
- Dim shpToMatch As Shape
-
- Dim clnModelShapes As Collection
- Dim clnSubShapes As Collection
- Dim P As Page, p1 As Page
- Dim shr As ShapeRange, sr As New ShapeRange
- Dim i As Integer
- Dim fsn As Shape
- On Error GoTo NothingSelected
- Set shr = ActiveSelectionRange
- Set shpsSelected = ActiveDocument.Selection.Shapes
-
- If shpsSelected.Count > 0 Then
- Set clnModelShapes = New Collection
- For Each shpModel In shpsSelected
- clnModelShapes.Add shpModel
- Next
-
-
- If CheckFontName Or CheckFontSize Or CheckShapeName Then
- Set fsn = shr(1)
- End If
-
-
-
-
- If WithinPage Then
- If OptBt.value = True Then
- Set shpsToTest = ssreg.Shapes
- OptBt.value = 0
- API.BeginOpt
- Else
- Set shpsToTest = ActivePage.Shapes
- End If
-
-
-
-
- ActiveDocument.EditAcrossLayers = True
- End If
- If WithinLayer Then
- Set shpsToTest = ActivePage.ActiveLayer.Shapes
- End If
-
- If WithinDoc Then
- For i = 1 To ActiveDocument.Pages.Count
- ActiveDocument.Pages(i).Activate
- Set p1 = ActiveDocument.Pages(i)
- Set pagesr = ActivePage.SelectShapesFromRectangle(0, p1.CenterY * 2, p1.CenterX * 2, 0, False).Shapes.all
- Debug.Print p1.CenterY * 2 & p1.CenterX * 2
- docsr.AddRange pagesr
-
- Next i
- Set shpsToTest = docsr.Shapes
- Label13.Caption = "共有待比较对象 " & shpsToTest.Count & " 个"
-
- End If
-
- If WithinGroups Then
- Set clnSubShapes = FlatShapeList(shpsToTest)
-
- For Each shpToMatch In clnSubShapes
- If Not shpToMatch.Selected Then
-
-
- For Each shpModel In clnModelShapes
- If ShapesMatch(shpToMatch, shpModel, CheckFill, _
- CheckOutline, CheckOutlineColor, CheckOutlineLength, CheckSize, CheckWHratio, _
- CheckType, CountNodes, CountSegments, CountPaths, CheckIndiv) Then
-
- sr.Add shpToMatch
- Exit For
- End If
- Next
-
-
- End If
- Next
-
- Else
- For Each shpToMatch In shpsToTest
- If Not shpToMatch.Selected Then
-
- For Each shpModel In clnModelShapes
- If ShapesMatch(shpToMatch, shpModel, CheckFill, _
- CheckOutline, CheckOutlineColor, CheckOutlineLength, CheckSize, CheckWHratio, _
- CheckType, CountNodes, CountSegments, CountPaths, CheckIndiv) Then
-
- sr.Add shpToMatch
- Exit For
- End If
- Next
-
- End If
- Next
- End If
-
-
-
-
-
-
- If CheckColorMark And sr.Count > 0 Then sr.SetOutlineProperties , , CreateCMYKColor(0, 100, 0, 0)
- sr.AddRange shr
-
-
- If CheckFontName Or CheckFontSize Or CheckShapeName Then
- If CheckFontName Then ShapesMatch_Font_Name fsn, sr, "FontName"
- If CheckFontSize Then ShapesMatch_Font_Name fsn, sr, "FontSize"
- If CheckShapeName Then ShapesMatch_Font_Name fsn, sr, "ShapeName"
- End If
-
- sr.CreateSelection
-
- Label13.Caption = "共找到 " & sr.Count & " 个对象"
- End If
-
- Set clnModelShapes = Nothing
- Set shpsToTest = Nothing
- Exit Sub
- NothingSelected:
- End Sub
- Private Function add_ssreg()
- Dim ssr As ShapeRange, shr As ShapeRange
- Dim x1 As Double, y1 As Double, x2 As Double, y2 As Double
- Dim Shift As Long
- Dim b As Boolean
- Set shr = ActiveSelectionRange
- b = ActiveDocument.GetUserArea(x1, y1, x2, y2, Shift, 10, False, cdrCursorWeldSingle)
- If Not b Then
- Set ssreg = ActivePage.SelectShapesFromRectangle(x1, y1, x2, y2, True).Shapes.all
- End If
- ActiveDocument.ClearSelection
- shr.CreateSelection
- End Function
- Private Function ShapesMatch_Font_Name(ByVal fsn As Shape, sr As ShapeRange, Check_Case As String)
- Dim xz As String, sh_name As String, strFontName As String
- Dim FontSize As Double
- Dim srText As ShapeRange
- Set srText = sr.Shapes.FindShapes(Type:=cdrTextShape)
-
- Select Case Check_Case
- Case "FontName"
- If fsn.Type = cdrTextShape Then
- strFontName = fsn.text.Story.Font
- Set sr = srText.Shapes.FindShapes(Query:="@type ='text:artistic' or @type ='text:paragraph' and @com.text.story.font = '" & strFontName & "'")
- End If
-
- Case "FontSize"
- If fsn.Type = cdrTextShape Then
- FontSize = fsn.text.Story.size
- Set sr = srText.Shapes.FindShapes(Query:="@type ='text:artistic' or @type ='text:paragraph' and (@com.text.story.size - " & FontSize & ").abs() < 0.1 ")
- End If
-
- Case "ShapeName"
- sh_name = fsn.name
- Set sr = sr.Shapes.FindShapes(Query:="@name ='" & sh_name & "'")
- End Select
- End Function
- Private Function ShapesMatch(shpShape As Shape, shpModel As Shape, _
- Optional CheckFill As Boolean = True, _
- Optional CheckOutline As Boolean = True, _
- Optional CheckOutlineColor As Boolean = True, _
- Optional CheckOutlineLength As Boolean = True, _
- Optional CheckSize As Boolean = False, _
- Optional CheckWHratio As Boolean = False, _
- Optional CheckType As Boolean = True, _
- Optional CountNodes As Boolean = False, _
- Optional CountSegments As Boolean = False, _
- Optional CountPaths As Boolean = False, _
- Optional CheckIndiv As Boolean = False) As Boolean
-
-
- Dim ToleranceSize As Double
- ToleranceSize = Me.TextBox1 / 100
-
- Dim ToleranceLength As Double
- ToleranceLength = Me.TextBox2 / 100
-
- Dim ToleranceNodesCount As Long
- ToleranceNodesCount = Me.TextBox3
-
- Dim ToleranceSubPathsCount As Long
- ToleranceSubPathsCount = Me.TextBox4
-
- Dim ToleranceWHratio As Double
- ToleranceWHratio = Me.TextBox5
-
- Dim ToleranceSegmentsCount As Long
- ToleranceSegmentsCount = Me.TextBox6
-
-
- Dim clrModel As Color
- Dim clrShape As Color
- Dim fillModel As Fill
- Dim outlnModel As Outline
- Dim crvModel As Curve
- Dim crvShape As Curve
- Dim fntModel As StructFontProperties
- Dim trgModel As text
- Dim spath As SubPath, opath As SubPath
- Dim j As Integer
-
-
- Dim dblWidth As Double
- Dim dblHeight As Double
- Dim lngShapeType As cdrShapeType
- Dim lngModelType As cdrShapeType
- Dim lngType As Long
-
-
-
-
-
- With shpShape
- lngShapeType = .Type
- lngModelType = shpModel.Type
-
- If CheckType Then If lngShapeType <> lngModelType Then GoTo NoMatch
-
-
- If CheckSize Then
- dblWidth = shpModel.SizeWidth
- If Abs(.SizeWidth - dblWidth) > (dblWidth * _
- ToleranceSize) Then GoTo NoMatch
- dblHeight = shpModel.SizeHeight
- If Abs(.SizeHeight - dblHeight) > (dblHeight * _
- ToleranceSize) Then GoTo NoMatch
- End If
-
- If CheckWHratio Then
- dblWidth = shpModel.SizeWidth
- dblHeight = shpModel.SizeHeight
- If Abs(.SizeHeight / .SizeWidth - dblHeight / dblWidth) > (dblHeight / dblWidth * ToleranceWHratio) Then GoTo NoMatch
- End If
-
- If CountNodes Or CountPaths Or CheckOutlineLength Or CountSegments Then
-
- If lngShapeType <> cdrCurveShape Then GoTo NoMatch
-
- Set crvShape = .Curve
- Set crvModel = shpModel.Curve
-
-
-
-
-
-
-
-
- If CountPaths Then
-
- If VersionMajor > 12 Then
- If Abs(crvShape.SubPaths.Count - crvModel.SubPaths.Count) > ToleranceSubPathsCount Then GoTo NoMatch
-
- Else
- If Abs(crvShape.SubPathCount - crvModel.SubPathCount) > ToleranceSubPathsCount Then GoTo NoMatch
- End If
-
- End If
-
-
-
-
- If CountNodes Then
-
- If VersionMajor > 12 Then
- If Abs(crvShape.Nodes.Count - crvModel.Nodes.Count) > ToleranceNodesCount Then GoTo NoMatch
- Else
- If Abs(crvShape.NodeCount - crvModel.NodeCount) > ToleranceNodesCount Then GoTo NoMatch
- End If
-
- End If
-
- If CountSegments Then
-
- If VersionMajor > 12 Then
- If Abs(crvShape.Segments.Count - crvModel.Segments.Count) > ToleranceSegmentsCount Then GoTo NoMatch
- Else
- If Abs(crvShape.SegmentCount - crvModel.SegmentCount) > ToleranceSegmentsCount Then GoTo NoMatch
- End If
-
- End If
-
-
-
- If CheckOutlineLength Then
-
- If VersionMajor > 12 Then
- If Abs(crvShape.Length - crvModel.Length) > crvModel.Length * ToleranceLength Then GoTo NoMatch
-
- Else
- If Abs(crvShape.Length - crvModel.Length) > crvModel.Length * ToleranceLength Then GoTo NoMatch
- End If
-
- End If
- End If
- If CheckFill Then
- Set fillModel = shpModel.Fill
- With .Fill
- lngType = .Type
- If lngType <> shpModel.Fill.Type Then GoTo NoMatch
- If lngType = cdrUniformFill Then
- If VersionMajor > 12 Then
-
- Dim col1 As New Color
- col1.CopyAssign .UniformColor
- Dim col2 As New Color
- col2.CopyAssign shpModel.Fill.UniformColor
-
- If col1.IsSame(col2) = False Then GoTo NoMatch
- Else
- Set clrModel = fillModel.UniformColor
- lngType = .UniformColor.Type
- If lngType <> clrModel.Type Then GoTo NoMatch
- If .UniformColor.name(True) <> clrModel.name(True) Then GoTo NoMatch
- End If
- End If
- End With
- End If
-
-
-
- If CheckOutline Then
- If lngShapeType <> cdrGroupShape Then
- Set outlnModel = shpModel.Outline
- If Not outlnModel Is Nothing Then
- With .Outline
- lngType = .Type
- If lngType <> outlnModel.Type Then GoTo NoMatch
-
- If lngType > 0 Then
-
- If .width <> outlnModel.width Then GoTo NoMatch
-
- End If
- End With
- End If
- End If
- End If
-
-
- If CheckOutlineColor Then
- If lngShapeType <> cdrGroupShape Then
-
-
- Set outlnModel = shpModel.Outline
- If Not outlnModel Is Nothing Then
-
- With .Outline
- lngType = .Type
- If lngType <> outlnModel.Type Then GoTo NoMatch
-
- If lngType > 0 Then
-
-
- If VersionMajor > 12 Then
-
- Dim col3 As New Color
- col3.CopyAssign .Color
- Dim col4 As New Color
- col4.CopyAssign shpModel.Outline.Color
-
- If col3.IsSame(col4) = False Then GoTo NoMatch
- Else
- Set clrShape = .Color
- lngType = clrShape.Type
- Set clrModel = outlnModel.Color
- If lngType <> clrModel.Type Then GoTo NoMatch
- If clrShape.name(True) <> clrModel.name(True) _
- Then GoTo NoMatch
- End If
- End If
- End With
- End If
- End If
- End If
-
- End With
-
- ShapesMatch = True
- Exit Function
-
- NoMatch:
- ShapesMatch = False
-
- NoMatchExit:
- ShapesMatch = False
- Exit Function
- End Function
- Private Function GroupsMatch(Group As Shape, GroupModel As Shape, _
- Optional CheckFill As Boolean = True, _
- Optional CheckOutline As Boolean = True, _
- Optional CheckOutlineColor As Boolean = True, _
- Optional CheckOutlineLength As Boolean = True, _
- Optional CheckSize As Boolean = False, _
- Optional CheckType As Boolean = True, _
- Optional CountNodes As Boolean = False, _
- Optional CountPaths As Boolean = False) As Boolean
-
-
- Dim shpsModels As Shapes
- Dim shpsInGroup As Shapes
- Dim shpModel As Shape
- Dim shpInGroup As Shape
-
-
- Dim lngInGroup As Long
- Dim i As Long
-
-
-
- Set shpsModels = GroupModel.Shapes
- Set shpsInGroup = Group.Shapes
-
-
- lngInGroup = shpsModels.Count
- If shpsInGroup.Count <> lngInGroup Then GoTo NoMatch
-
- For i = 1 To lngInGroup
- Set shpInGroup = shpsInGroup(i)
- Set shpModel = shpsModels(i)
-
- If shpModel.Type <> cdrGroupShape Then
- If Not ShapesMatch(shpInGroup, shpModel, _
- CheckSize, CountNodes) Then GoTo NoMatch
- Else
- If Not GroupsMatch(shpInGroup, shpModel, _
- CheckSize, CountNodes) Then GoTo NoMatch
- End If
- Next i
-
- GroupsMatch = True
- Exit Function
- NoMatch:
- GroupsMatch = False
- End Function
- Private Function FlatShapeList(TopLevelShapes As Shapes) As Collection
-
-
- Dim shpTopLevel As Shape
- Dim shpInGroup As Shape
- Dim clnAllShapes As Collection
-
-
- If TopLevelShapes.Count Then
- Set clnAllShapes = New Collection
- For Each shpTopLevel In TopLevelShapes
-
-
- clnAllShapes.Add shpTopLevel
-
-
-
- If shpTopLevel.Type = cdrGroupShape Then
- For Each shpInGroup In ShapesInGroup(shpTopLevel)
- clnAllShapes.Add shpInGroup
- Next
- End If
- Next
- Set FlatShapeList = clnAllShapes
- Else
- Set FlatShapeList = Nothing
- End If
- End Function
- Private Function ShapesInGroup(GroupShape As Shape) As Collection
-
- Dim shpsInGroup As Shapes
- Dim shpInGroup As Shape
- Dim shpNested As Shape
- Dim clnShapeList As Collection
-
- If GroupShape.Type = cdrGroupShape Then
- Set shpsInGroup = GroupShape.Shapes
-
- Set clnShapeList = New Collection
- For Each shpInGroup In shpsInGroup
- clnShapeList.Add shpInGroup
-
- If shpInGroup.Type = cdrGroupShape Then
-
- For Each shpNested In ShapesInGroup(shpInGroup)
- clnShapeList.Add shpNested
- Next
- End If
- Next
- Set ShapesInGroup = clnShapeList
- Else
- Set ShapesInGroup = Nothing
- End If
- End Function
- Private Sub UserForm_Activate()
- Const YES As String = "True"
- Const NO As String = "False"
- OptDoc = GetSetting(TOOLNAME, SECTION, "InDoc", NO)
- Optlayer = GetSetting(TOOLNAME, SECTION, "InLayer", NO)
- Optpage = GetSetting(TOOLNAME, SECTION, "InPage", YES)
-
- chkColorMark = GetSetting(TOOLNAME, SECTION, "ColorMark", YES)
- chkFill = GetSetting(TOOLNAME, SECTION, "Fill", YES)
- chkInGroups = GetSetting(TOOLNAME, SECTION, "InGroups", YES)
- chkNodes = GetSetting(TOOLNAME, SECTION, "Nodes", NO)
- chkSegments = GetSetting(TOOLNAME, SECTION, "Segments", NO)
- chkOutline = GetSetting(TOOLNAME, SECTION, "Outline", YES)
- chkOutlineColor = GetSetting(TOOLNAME, SECTION, "OutlineColor", NO)
- chkOutlineLength = GetSetting(TOOLNAME, SECTION, "OutlineLength", YES)
- chkPaths = GetSetting(TOOLNAME, SECTION, "Paths", NO)
- chkSize = GetSetting(TOOLNAME, SECTION, "Size", NO)
- chkWHratio = GetSetting(TOOLNAME, SECTION, "WHratio", NO)
- chkType = GetSetting(TOOLNAME, SECTION, "Type", YES)
- chkIndiv = GetSetting(TOOLNAME, SECTION, "Indiv", NO)
- chkColorMark = GetSetting(TOOLNAME, SECTION, "ColorMark", NO)
- saveFormPos False
- End Sub
- Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)
- saveFormPos True
- End Sub
- Sub saveFormPos(bDoSave As Boolean)
- Dim dL, dT
- If bDoSave Then
- SaveSetting TOOLNAME, SECTION, "form_left", Me.Left
- SaveSetting TOOLNAME, SECTION, "form_top", Me.Top
- Else
- dL = GetSetting(TOOLNAME, SECTION, "form_left", 900)
- dT = GetSetting(TOOLNAME, SECTION, "form_top", 200)
- Me.Left = dL: Me.Top = dT
- End If
- End Sub
- Private Sub OptDoc_Click()
- SaveSetting TOOLNAME, SECTION, "InDoc", CStr(OptDoc)
- End Sub
- Private Sub Optlayer_Click()
- SaveSetting TOOLNAME, SECTION, "InLayer", CStr(Optlayer)
- End Sub
- Private Sub Optpage_Click()
- SaveSetting TOOLNAME, SECTION, "InPage", CStr(Optpage)
- End Sub
- Private Sub chkColorMark_Click()
- SaveSetting TOOLNAME, SECTION, "ColorMark", CStr(chkColorMark)
- End Sub
- Private Sub chkIndiv_Click()
- SaveSetting TOOLNAME, SECTION, "Indiv", CStr(chkIndiv)
- End Sub
- Private Sub chkFill_Click()
- SaveSetting TOOLNAME, SECTION, "Fill", CStr(chkFill)
- End Sub
- Private Sub chkInGroups_Click()
- SaveSetting TOOLNAME, SECTION, "InGroups", CStr(chkInGroups)
- End Sub
- Private Sub chkNodes_Click()
- SaveSetting TOOLNAME, SECTION, "Nodes", CStr(chkNodes)
- End Sub
- Private Sub chkSegments_Click()
- SaveSetting TOOLNAME, SECTION, "Segments", CStr(chkSegments)
- End Sub
- Private Sub chkOutline_Click()
- SaveSetting TOOLNAME, SECTION, "Outline", CStr(chkOutline)
- End Sub
- Private Sub chkOutlineColor_Click()
- SaveSetting TOOLNAME, SECTION, "OutlineColor", CStr(chkOutlineColor)
- End Sub
- Private Sub chkPaths_Click()
- SaveSetting TOOLNAME, SECTION, "Paths", CStr(chkPaths)
- End Sub
- Private Sub chkSize_Click()
- SaveSetting TOOLNAME, SECTION, "Size", CStr(chkSize)
- End Sub
- Private Sub chkWHratio_Click()
- SaveSetting TOOLNAME, SECTION, "WHratio", CStr(chkWHratio)
- End Sub
- Private Sub chkType_Click()
- SaveSetting TOOLNAME, SECTION, "Type", CStr(chkType)
- End Sub
- Private Sub chkOutLineLength_Click()
- SaveSetting TOOLNAME, SECTION, "OutlineLength", CStr(chkOutlineLength)
- End Sub
|